package com.zhima.exception;

/**
 * @author : 芝麻
 * @date : 2023-02-10 09:16
 **/
public class ZhimaMinioException extends Exception {
    private String errMessage;

    public ZhimaMinioException(Throwable cause, String errMessage) {
        super(cause);
        this.errMessage = errMessage;
    }

    public ZhimaMinioException(String errMessage) {
        this.errMessage = errMessage;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }
}
